﻿namespace ChessBot
{

    class ChessMove
    {
        /// <summary>
        /// Creates a new move
        /// </summary>
        /// <param name="piece">The piece being moved</param>
        /// <param name="from">The square the piece is moving from</param>
        /// <param name="to">The square the piece is moving to</param>
        public ChessMove(Piece piece, ChessSquare from, ChessSquare to);

        /// <summary>
        /// Creates a new move
        /// </summary>
        /// <param name="from">The square the piece is moving from</param>
        /// <param name="to">The square the piece is moving to</param>
        public ChessMove(ChessSquare from, ChessSquare to);

        /// <summary>
        /// Returns the square this move is from
        /// </summary>
        /// <returns>The square this move is from</returns>
        public ChessSquare getFrom();

        /// <summary>
        /// Returns the square this move is to
        /// </summary>
        /// <returns>The square this move is to</returns>
        public ChessSquare getTo();

    }
}
